package com.wash.shoes.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 区域清洗的门店配置
 *
 * @TableName os_region_wash_shop
 */
@ApiModel(value = "区域清洗的门店配置--抖音店铺的配置")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("os_region_wash_shop")
public class RegionWashShopPo {
    /**
     *
     */
    @ApiModelProperty(value = "id")
    private String id;

    /**
     * 省份
     */
    @ApiModelProperty(value = "省份")
    private String province;

    /**
     * 市区
     */
    @ApiModelProperty(value = "市区,先对应省份然后在对应市区")
    private String city;

    /**
     * 1抖音的对应
     */
    @ApiModelProperty(value = "1抖音的对应")
    private Integer type;

    /**
     * 店铺的Id
     */
    @ApiModelProperty(value = "店铺的Id")
    private String shopId;
    /**
     * TODO 新增的by jjz 20250809
     */
    @ApiModelProperty(value = "抖音来客平台店铺位置信息")
    private String poid;

    /**
     * 状态0删除  1上线  2下线
     */
    @ApiModelProperty(value = "状态 0删除 1上线 2下线")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "扩展字段")
    private String extendInfo;

    @TableField(value = "create_by", fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建者")
    private String createBy;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField(value = "update_by", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}